package com.zoshine.zzg.pojo;

import com.zoshine.zzg.base.BaseBean;
import com.zoshine.zzg.pojo.pojostatus.RelationSupplierPrisonStatus;

import java.util.Date;

/**
 * 供应商与监所关系
 * @author 贾俊峰
 * @time 2017/7/26 18:28
 */
public class RelationSupplierPrison extends BaseBean {
    private static final long serialVersionUID = -3832296102430881005L;

    /**供应商编号*/
    private Long supplierId;
    /**监所编号*/
    private Long prisonId;
    /**关系状态*/
    private Integer status;
    /**监所名称*/
    private String prisonsName;
    /**供应商名称*/
    private String supplierName;
    /**过期时间*/
    private Date overDue;

    public String getStatusStr(){
        return RelationSupplierPrisonStatus.getDesc(status);
    }
    public Long getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Long supplierId) {
        this.supplierId = supplierId;
    }

    public Long getPrisonId() {
        return prisonId;
    }

    public void setPrisonId(Long prisonId) {
        this.prisonId = prisonId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getPrisonsName() {
        return prisonsName;
    }

    public void setPrisonsName(String prisonsName) {
        this.prisonsName = prisonsName;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public Date getOverDue() {
        return overDue;
    }

    public void setOverDue(Date overDue) {
        this.overDue = overDue;
    }
}
